package com.zzyl.nursing.domain;

import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ElderFamily extends BaseEntity {

    /** id */
    @Schema(title = "id")
    private Long id;

    /** 名称 */
    @Schema(title = "老人名称")
    @Excel(name = "老人名称")
    private String name;

    /** 身份证号 */
    @Schema(title = "身份证号")
    @Excel(name = "身份证号")
    private String idCard;

    /** 老人id */
    @Schema(title = "老人id")
    @Excel(name = "老人id")
    private Integer elderId;

    /** 亲属id */
    @Schema(title = "亲属id")
    @Excel(name = "亲属id")
    private Integer familyMemberId;
}
